package com.qf.commerce.service.impl;

import com.qf.commerce.entity.Account;
import com.qf.commerce.mapper.UserLogInMapper;
import com.qf.commerce.resp.ResponseResult;
import com.qf.commerce.service.UserLogInService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author peng
 * @Date 2023/9/14 15:22
 * @Version 1.0.0
 */
@Service
public class UserLogInServiceImpl implements UserLogInService {
    @Autowired
    private UserLogInMapper userLogInMapper;

//    用户登入
    @Override
    public Integer selectUserPassword(String userName, String password) {
        Account account = userLogInMapper.selectUserPassword(userName, password);
        if (account ==null){
        }
        return 1;
    }
}
